package Code.Day8_20240925.com.dx.day08.utils.com.dx.xjwlmq.dao;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Timestamp;

/**
 * @ClassName Student
 * @Description 学生类
 * @Author 12994
 * @Date 2024/9/25 13:14
 * @Version 1.0
 **/
@Getter
@Setter
@ToString
public class Student {
    private int studentNo;
    private String loginPwd;
    private String studentName;
    // 1: 男；2:女
    private int sex;
    private int gradeId;
    private String phone;
    private String address;
    private Timestamp bornDate;
    private String email;
    private String identityCard;

//    @Override
//    public String toString() {
//        return "学号: %d, 姓名: %s, 性别: %s, 生日: %s, 邮箱: %s."
//                .formatted(studentNo, studentName, sex, bornDate, email);
//    }

}
